package com.zmn.oms.admin.controller.conf.workturn.bizmode;

import com.zmn.mcc.cas.model.LoginStaff;
import com.zmn.mcc.cas.web.StaffAdminService;
import com.zmn.oms.business.interfaces.conf.workturn.bizmode.PlatBizModeBService;
import com.zmn.oms.services.interfaces.conf.workturn.bizmode.PlatBizModeService;
import com.zmn.oms.services.interfaces.conf.workturn.bizmode.log.PlatBizModeLogService;

import javax.annotation.Resource;

/**
 * 平台服务合同模式
 *
 * @author linfeng
 *
 * @since 2020/09/18 18:22
 */
public class PlatBizModeBaseController {

    @Resource
    protected PlatBizModeService platBizModeService;
    @Resource
    protected PlatBizModeLogService platBizModeLogService;
    @Resource
    protected PlatBizModeBService platBizModeBService;

    /**
     * 获取登录用户
     *
     * @return
     */
    public LoginStaff getMcStaff() {
        return StaffAdminService.currentStaff();
    }
}
